// 第一页电影页列表数据请求
import requestApi from "../utils/request"; // 导入接口
import type { IParams } from "../utils/request"; // 定义类型

// 正在热映
export const getMovieList = (params: IParams) => {
  return requestApi(params, "hot");
};

// 即将上映
export const commingSoonList = (params: IParams) => {
  return requestApi(params, "comeSooning");
};
